/*
day200_2
2020.3.15
*/
#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;


class Solution {
public:
    int removeDuplicates(vector<int>& nums) {
		auto iter=unique(nums.begin(),nums.end());
		return iter-nums.begin()+1;
    }
};


int main()
{
	return 0;
}
